package com.thirteengroup.casemg.service;

import com.thirteengroup.casemg.domain.PageResult;
import com.thirteengroup.casemg.domain.customer;
import com.thirteengroup.casemg.domain.queryObject;
import com.thirteengroup.casemg.domain.statisticsQuery;

import java.util.List;

public interface ICustomerService {

    List<customer> queryCustomer(queryObject queryObject);
    Integer selectCount(queryObject queryObject);
    void updateOne(customer customer);
    void insertOne(customer customer);
    void deleteByid(Long id);

    /**
     * 根据inputUser分组
     * @param queryObject
     * @return
     */
    List<statisticsQuery> statisticsInputUser(queryObject queryObject);

    /**
     * 根据时间分组
     * @param queryObject
     * @return
     */
    List<statisticsQuery> statisticsTime(queryObject queryObject);

    void updateInputUser(Long inputUserId , Long id);
}
